package com.love_weinuo.bean;

import java.io.Serializable;
import java.util.List;

/**
 * Created by Administrator on 2019/3/16.
 */

public class NearPindanCallBackBean implements Serializable{

    /**
     * errcode : 0
     * msg : success
     * result : {"res":[{"isleader":1,"pname":"萍萍的护士","originalprice":"12.00","isjoin":0,"groupid":"1553500177631","endtime":"2019-04-25 00:00:00","pordernum":932995625,"starttime":"2019-03-25 00:00:00","userid":25,"point":["34.763965759578944,113.76596047565667;34.76334107742066,113.78012253901304;34.757131457712134,113.78019898196865;34.75702127571476,113.76567213819251;34.76168845632356,113.76369266797337","34.763965759578944,113.76596047565667;34.76334107742066,113.78012253901304;34.757131457712134,113.78019898196865;34.75702127571476,113.76567213819251;34.76168845632356,113.76369266797337","34.75602963112217,113.76282631447638;34.74974893881941,113.76332922865808;34.747957201135534,113.77054973520265;34.750620551154704,113.77645059493446;34.754711827213015,113.77190961514994;34.75625660860212,113.76680939479537"],"hasland":0,"price":"0.00","nowprice":"10.00","sumarea":3888,"id":37,"state":0},{"isleader":1,"pname":"清清的湖水","originalprice":"12.00","isjoin":0,"groupid":"1553500220231","endtime":"2019-04-25 00:00:00","pordernum":825596925,"starttime":"2019-03-25 00:00:00","userid":25,"point":["34.763965759578944,113.76596047565667;34.76334107742066,113.78012253901304;34.757131457712134,113.78019898196865;34.75702127571476,113.76567213819251;34.76168845632356,113.76369266797337","34.763965759578944,113.76596047565667;34.76334107742066,113.78012253901304;34.757131457712134,113.78019898196865;34.75702127571476,113.76567213819251;34.76168845632356,113.76369266797337","34.75602963112217,113.76282631447638;34.74974893881941,113.76332922865808;34.747957201135534,113.77054973520265;34.750620551154704,113.77645059493446;34.754711827213015,113.77190961514994;34.75625660860212,113.76680939479537"],"hasland":0,"price":"0.00","nowprice":"10.00","sumarea":3000,"id":38,"state":0}]}
     */
    private int errcode;
    private String msg;
    private ResultEntity result;

    public void setErrcode(int errcode) {
        this.errcode = errcode;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public void setResult(ResultEntity result) {
        this.result = result;
    }

    public int getErrcode() {
        return errcode;
    }

    public String getMsg() {
        return msg;
    }

    public ResultEntity getResult() {
        return result;
    }

    public class ResultEntity implements Serializable{
        /**
         * res : [{"isleader":1,"pname":"萍萍的护士","originalprice":"12.00","isjoin":0,"groupid":"1553500177631","endtime":"2019-04-25 00:00:00","pordernum":932995625,"starttime":"2019-03-25 00:00:00","userid":25,"point":["34.763965759578944,113.76596047565667;34.76334107742066,113.78012253901304;34.757131457712134,113.78019898196865;34.75702127571476,113.76567213819251;34.76168845632356,113.76369266797337","34.763965759578944,113.76596047565667;34.76334107742066,113.78012253901304;34.757131457712134,113.78019898196865;34.75702127571476,113.76567213819251;34.76168845632356,113.76369266797337","34.75602963112217,113.76282631447638;34.74974893881941,113.76332922865808;34.747957201135534,113.77054973520265;34.750620551154704,113.77645059493446;34.754711827213015,113.77190961514994;34.75625660860212,113.76680939479537"],"hasland":0,"price":"0.00","nowprice":"10.00","sumarea":3888,"id":37,"state":0},{"isleader":1,"pname":"清清的湖水","originalprice":"12.00","isjoin":0,"groupid":"1553500220231","endtime":"2019-04-25 00:00:00","pordernum":825596925,"starttime":"2019-03-25 00:00:00","userid":25,"point":["34.763965759578944,113.76596047565667;34.76334107742066,113.78012253901304;34.757131457712134,113.78019898196865;34.75702127571476,113.76567213819251;34.76168845632356,113.76369266797337","34.763965759578944,113.76596047565667;34.76334107742066,113.78012253901304;34.757131457712134,113.78019898196865;34.75702127571476,113.76567213819251;34.76168845632356,113.76369266797337","34.75602963112217,113.76282631447638;34.74974893881941,113.76332922865808;34.747957201135534,113.77054973520265;34.750620551154704,113.77645059493446;34.754711827213015,113.77190961514994;34.75625660860212,113.76680939479537"],"hasland":0,"price":"0.00","nowprice":"10.00","sumarea":3000,"id":38,"state":0}]
         */
        private List<ResEntity> res;

        public void setRes(List<ResEntity> res) {
            this.res = res;
        }

        public List<ResEntity> getRes() {
            return res;
        }

        public class ResEntity implements Serializable{
            /**
             * isleader : 1
             * pname : 萍萍的护士
             * originalprice : 12.00
             * isjoin : 0
             * groupid : 1553500177631
             * endtime : 2019-04-25 00:00:00
             * pordernum : 932995625
             * starttime : 2019-03-25 00:00:00
             * userid : 25
             * point : ["34.763965759578944,113.76596047565667;34.76334107742066,113.78012253901304;34.757131457712134,113.78019898196865;34.75702127571476,113.76567213819251;34.76168845632356,113.76369266797337","34.763965759578944,113.76596047565667;34.76334107742066,113.78012253901304;34.757131457712134,113.78019898196865;34.75702127571476,113.76567213819251;34.76168845632356,113.76369266797337","34.75602963112217,113.76282631447638;34.74974893881941,113.76332922865808;34.747957201135534,113.77054973520265;34.750620551154704,113.77645059493446;34.754711827213015,113.77190961514994;34.75625660860212,113.76680939479537"]
             * hasland : 0
             * price : 0.00
             * nowprice : 10.00
             * sumarea : 3888
             * id : 37
             * state : 0
             */
            private int isleader;
            private String pname;
            private String originalprice;
            private int isjoin;
            private String groupid;
            private String endtime;
            private int pordernum;
            private String starttime;
            private int userid;
            private List<String> point;
            private int hasland;
            private String price;
            private String nowprice;
            private int sumarea;
            private int id;
            private int state;

            public void setIsleader(int isleader) {
                this.isleader = isleader;
            }

            public void setPname(String pname) {
                this.pname = pname;
            }

            public void setOriginalprice(String originalprice) {
                this.originalprice = originalprice;
            }

            public void setIsjoin(int isjoin) {
                this.isjoin = isjoin;
            }

            public void setGroupid(String groupid) {
                this.groupid = groupid;
            }

            public void setEndtime(String endtime) {
                this.endtime = endtime;
            }

            public void setPordernum(int pordernum) {
                this.pordernum = pordernum;
            }

            public void setStarttime(String starttime) {
                this.starttime = starttime;
            }

            public void setUserid(int userid) {
                this.userid = userid;
            }

            public void setPoint(List<String> point) {
                this.point = point;
            }

            public void setHasland(int hasland) {
                this.hasland = hasland;
            }

            public void setPrice(String price) {
                this.price = price;
            }

            public void setNowprice(String nowprice) {
                this.nowprice = nowprice;
            }

            public void setSumarea(int sumarea) {
                this.sumarea = sumarea;
            }

            public void setId(int id) {
                this.id = id;
            }

            public void setState(int state) {
                this.state = state;
            }

            public int getIsleader() {
                return isleader;
            }

            public String getPname() {
                return pname;
            }

            public String getOriginalprice() {
                return originalprice;
            }

            public int getIsjoin() {
                return isjoin;
            }

            public String getGroupid() {
                return groupid;
            }

            public String getEndtime() {
                return endtime;
            }

            public int getPordernum() {
                return pordernum;
            }

            public String getStarttime() {
                return starttime;
            }

            public int getUserid() {
                return userid;
            }

            public List<String> getPoint() {
                return point;
            }

            public int getHasland() {
                return hasland;
            }

            public String getPrice() {
                return price;
            }

            public String getNowprice() {
                return nowprice;
            }

            public int getSumarea() {
                return sumarea;
            }

            public int getId() {
                return id;
            }

            public int getState() {
                return state;
            }
        }
    }
}
